//package com.spsoft.system;
//
//import com.spsoft.vatoutinv.VatoutinvApplication;
//import lombok.extern.slf4j.Slf4j;
//
//import java.net.InetAddress;
//
//@SpringBootApplication(scanBasePackages = "com.spsoft.*")
//@MapperScan("com.spsoft.*.mapper")
//@Slf4j
//public class SystemApplication {
//
//    public static void main(String[] args) throws Exception{
//        ConfigurableApplicationContext application = SpringApplication.run(VatoutinvApplication.class, args);
//        Environment env = application.getEnvironment();
//        String ip = InetAddress.getLocalHost().getHostAddress();
//        String port = env.getProperty("local.server.port");
//        String path = Convert.toStr(env.getProperty("server.servlet.context-path",""));
//        log.info("\n----------------------------------------------------------\n\t" +
//                "Application running! Access URLs:\n\t" +
//                "Local: \t\thttp://localhost:" + port + path + "/\n\t" +
//                "External: \thttp://" + ip + ":" + port + path + "/\n\t" +
//                "Swagger文档: \thttp://" + ip + ":" + port + path + "/doc.html\n" +
//                "----------------------------------------------------------");
//
//    }
//}
